/**
 * 
 */
package net.cobra.hibernate;

/**
 * @author Conor Lawler
 *
 */
public class Operative {
	private int id = 0;
	private String codename = "";
	private String speciality = "";
	private String name = "";
	
	public Operative() {
		// this form used by Hibernate
	}
	
	public Operative(String codename, String speciality, String name) {
		setCodename(codename);
		setSpeciality(speciality);
		setName(name);
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the codename
	 */
	public String getCodename() {
		return codename;
	}

	/**
	 * @param codename the codename to set
	 */
	public void setCodename(String codename) {
		this.codename = codename;
	}

	/**
	 * @return the speciality
	 */
	public String getSpeciality() {
		return speciality;
	}

	/**
	 * @param speciality the speciality to set
	 */
	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	
}
